package com.dingpeikeji.quickdeer.modules.wx.member.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.modules.sys.dao.UserDao;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.User;

@Service
@Transactional(readOnly = true)
public class WxMemberService {

	@Autowired
	private UserDao userDao;
	
	/**
	 * 获取所有的用户
	 * @param user
	 * @return
	 */
	public List<User> findList(User user) {
		return userDao.findList(user);
	}
}
